<?php
$version = '1.1.13';
// $version = '1.1.6';
// change the following paths if necessary
$yiic = dirname(__FILE__).'/../../framework.'.$version.'/yiic.php';
$config = dirname(__FILE__).'/config/console.php';
// @putenv('YII_CONSOLE_COMMANDS='. dirname(__FILE__).'/commands' ); 

require_once($yiic);
Yii::createConsoleApplication ( $config )->run ();